<?php

namespace WeiPu\Shop;

use Dcat\Admin\Extend\ServiceProvider;

class ShopServiceProvider extends ServiceProvider
{
    protected $js = [
        'js/axios.min.js',
        'js/vue.global.js',
        'js/index.js',
    ];

    protected $css = [
        'css/layui.css',
        'css/index.css',
    ];

    // 定义菜单
    protected $menu = [
        [
            'title' => '商店',
            'uri'   => 'weipu/shop',
            'icon'  => '', // 图标可以留空
        ],
    ];

    public function register()
    {
        //
    }

    public function init()
    {
        parent::init();

        //

    }

    public function settingForm()
    {
        return new Setting($this);
    }
}
